package Code.KeyboardEntry;
//导包
import java.util.Scanner;

/*
需求：键盘录入两个整数，求出他们的和并打印出来
 */
public class Test {
    public static void main(String[] args) {
        //创建对象
        Scanner sc = new Scanner(System.in);

        System.out.println("请输入a的值：");
        //接收数据
        int a = sc.nextInt();

        System.out.println("请输入b的值：");
        int b = sc.nextInt();

        //求和
        System.out.println(a+b);

    }

}
